<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body>
<div class="tsf-page-content" style="padding: 0px;">
        <form class="layui-form" method="post" lay-filter="quoteForm" id="quoteForm">
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>名称</label>
                        <div class="layui-input-block">
                            <input name="name" id="name" class="layui-input required" lay-verify="required" placeholder="请输入报价名称"  clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>名称</label>
                        <div class="layui-input-block">
                            <select id="quoteType" name="quoteType" class="sel-load" lay-verify="required" sel-url="scm/common/bizSelect?type=QuoteType" sel-data-name="QuoteType" sel-key="value" sel-val="label" sel-first="请选择"></select>
                        </div>
                    </div>

                    <div class="layui-col-md3">
                        <input type="text" name="quoteStartTime" id="quoteStartTime" lay-verify="required" class="layui-input picker-date start-input required" placeholder="开始日期" clear-val/>
                    </div>

                    <div class="layui-col-md3">
                        <input type="text" name="quoteEndTime" id="quoteEndTime" lay-verify="required" class="layui-input picker-date end-input required" placeholder="结束日期" clear-val/>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>封顶标识</label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="capped" name="capped" lay-filter="capped"  lay-skin="switch" value="false" lay-text="是|否"/>
                        </div>
                    </div>

                    <div id="capped-fee" class="layui-col-md3 tsf-hide">
                        <label class="layui-form-label"><span class="text-danger">*</span>封顶费用</label>
                        <div class="layui-input-block">
                            <input name="cappedFee" id="cappedFee" class="layui-input"  placeholder="请输入封顶费用"  NUMBER clear-val/>
                        </div>
                    </div>

                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>禁用标识</label>
                        <div class="layui-input-block">
                            <input type="checkbox" name="disabled" id="disabled" lay-filter="disabled"  lay-skin="switch" value="false" lay-text="是|否"/>
                        </div>
                    </div>

                </div>

        </form>

        <form class="layui-form" method="post" id="memberForm">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-quora"></i>报价明细</span></div>
            <div class="layui-card-body">
                <table class="layui-hide" id="quote-member-list" lay-filter="quote-member-list"></table>
                <div class="mt10"><a href="javascript:" class="layui-btn layui-btn-sm" onclick="addRow()"><i class="fa fa-plus-circle"></i>添加一行</a></div>
            </div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>代理费用测算</label>
                        <div class="layui-input-block">
                            <input name="weight" id="weight" class="layui-input" NUMBER placeholder="请输入测算重量"/>
                        </div>
                    </div>
                </div>

                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label">代理费用</label>
                        <span id="agencyFee">0.00</span>
                    </div>
                </div>
            </div>
        </form>
</div>

<div class="tsf-page-btn-group">
    <button type="button" class="layui-btn layui-btn-sm save-btn"><i class="fa fa-save" aria-hidden="true"></i>保存</button>
    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm close-window"><i class="fa fa-close"></i>关闭</button>
</div>

<script type="text/html" id="startWeightTemp">
    <input type="hidden" name="id" value="{{d.id}}"/>
    <input type="text" name="startWeight" class="layui-input required" readonly NUMBER placeholder="开始重量" value="{{d.startWeight}}"/>
</script>
<script type="text/html" id="endWeightTemp">
    <input type="text" name="endWeight" class="layui-input required" NUMBER placeholder="结束重量"  value="{{d.endWeight}}"/>
</script>
<script type="text/html" id="basePriceTemp">
    <input type="text" name="basePrice" class="layui-input required" NUMBER placeholder="基准价" value="{{d.basePrice}}"/>
</script>
<script type="text/html" id="priceTemp">
    <input type="text" name="price" class="layui-input required" NUMBER placeholder="单价" value="{{d.price}}"/>
</script>

<script type="text/html" id="deOperaBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deDel">删除</a>
</script>

<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/js/sel-load.js?v=202001010101"></script>
<script type="text/javascript" src="/system/agencyfee-config/add.js?v=202012300951001"></script>
</body>
</html>